package cn.tedu._02notice.base.response;

import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    //所有枚举类的实例都在最上面;
    OPERATION_SUCCESS(2000, "操作成功"),
    OPERATION_FAILED(2001, "操作失败");
    private Integer code;
    private String message;
}
